package com.kcyu.sfherp.mapper.ck;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kcyu.sfherp.entity.Chzd;
import com.kcyu.sfherp.entity.CkStock;
import com.kcyu.sfherp.entity.CustomHistoryPrice;
import com.kcyu.sfherp.entity.Jhzd;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CkStockMapper extends BaseMapper<CkStock> {

    @Select("SELECT * FROM ProductStock where Name like '%${spname}%'")
    public List<CkStock> query(@Param("spname") String spname);

}

